<?php
/**
 * Description of view
 *
 * @author laimis
 */
class GalleryView extends  ActionBase {
    public $title = 'Gallery view';
    public $gallery;

    public function getGallery(){
        if($this->getGalleryService() != null){
           $this->gallery = $this->galleryService->getById($_REQUEST['request']['arg']);
        }
    }

    public function GalleryView(){
        if($_REQUEST['request']['arg'] > 0 ){
            $this->getGallery();
            include_once BASEURL.'web/layout.php';
        }else{

        }
    }
}
?>
